/*
 * Copyright (c) 2015 www.smarthome.com All rights reserved.
 * 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.domain.bean;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.smarthome.domain.bean.base.BaseDomain;

/**
 * shPropertyEmployee
 * 
 * @author KongXiangyu
 * @since 2015-09-07
 */
public class ShPropertyEmployee extends BaseDomain {
	private static final long serialVersionUID = 1L;
	private Long companyId;
	private String name;
	private String post;
	private Integer sex;
	private Integer age;
	private Integer certType;
	private String certNum;
	private String mobile;
	private String address;
	private String email;
	private Date gmtCreate;
	private Date gmtModify;

	private Integer active; // 删除标识

	private String sexStr; // 性别
	private String certStr; // 卡种类
	private ShPropertyCompany company; // 物业公司
	private String companyName; // 物业公司名字

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startGmtCreate;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endGmtCreate;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startGmtModify;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endGmtModify;

	private Long residenceId;

	public Integer getActive() {
		return active;
	}

	public void setActive(Integer active) {
		this.active = active;
	}

	public String getSexStr() {
		return sexStr;
	}

	public void setSexStr(String sexStr) {
		this.sexStr = sexStr;
	}

	public String getCertStr() {
		return certStr;
	}

	public void setCertStr(String certStr) {
		this.certStr = certStr;
	}

	public ShPropertyEmployee() {
		// 默认无参构造方法
	}

	/**
	 * 获取 companyId
	 * 
	 * @return
	 */
	public Long getCompanyId() {
		return companyId;
	}

	/**
	 * 设置 companyId
	 * 
	 * @param companyId
	 */
	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	/**
	 * 获取 name
	 * 
	 * @return
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置 name
	 * 
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取 post
	 * 
	 * @return
	 */
	public String getPost() {
		return post;
	}

	/**
	 * 设置 post
	 * 
	 * @param post
	 */
	public void setPost(String post) {
		this.post = post;
	}

	/**
	 * 获取 sex
	 * 
	 * @return
	 */
	public Integer getSex() {
		return sex;
	}

	/**
	 * 设置 sex
	 * 
	 * @param sex
	 */
	public void setSex(Integer sex) {
		this.sex = sex;
	}

	/**
	 * 获取 age
	 * 
	 * @return
	 */
	public Integer getAge() {
		return age;
	}

	/**
	 * 设置 age
	 * 
	 * @param age
	 */
	public void setAge(Integer age) {
		this.age = age;
	}

	/**
	 * 获取 certType
	 * 
	 * @return
	 */
	public Integer getCertType() {
		return certType;
	}

	/**
	 * 设置 certType
	 * 
	 * @param certType
	 */
	public void setCertType(Integer certType) {
		this.certType = certType;
	}

	/**
	 * 获取 certNum
	 * 
	 * @return
	 */
	public String getCertNum() {
		return certNum;
	}

	/**
	 * 设置 certNum
	 * 
	 * @param certNum
	 */
	public void setCertNum(String certNum) {
		this.certNum = certNum;
	}

	/**
	 * 获取 mobile
	 * 
	 * @return
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * 设置 mobile
	 * 
	 * @param mobile
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 获取 address
	 * 
	 * @return
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * 设置 address
	 * 
	 * @param address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * 获取 email
	 * 
	 * @return
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * 设置 email
	 * 
	 * @param email
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * 获取 gmtCreate
	 * 
	 * @return
	 */
	public Date getGmtCreate() {
		return gmtCreate;
	}

	/**
	 * 设置 gmtCreate
	 * 
	 * @param gmtCreate
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	/**
	 * 获取 gmtModify
	 * 
	 * @return
	 */
	public Date getGmtModify() {
		return gmtModify;
	}

	/**
	 * 设置 gmtModify
	 * 
	 * @param gmtModify
	 */
	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public ShPropertyCompany getCompany() {
		return company;
	}

	public void setCompany(ShPropertyCompany company) {
		this.company = company;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public Date getStartGmtCreate() {
		return startGmtCreate;
	}

	public void setStartGmtCreate(Date startGmtCreate) {
		this.startGmtCreate = startGmtCreate;
	}

	public Date getEndGmtCreate() {
		return endGmtCreate;
	}

	public void setEndGmtCreate(Date endGmtCreate) {
		this.endGmtCreate = endGmtCreate;
	}

	public Date getStartGmtModify() {
		return startGmtModify;
	}

	public void setStartGmtModify(Date startGmtModify) {
		this.startGmtModify = startGmtModify;
	}

	public Date getEndGmtModify() {
		return endGmtModify;
	}

	public void setEndGmtModify(Date endGmtModify) {
		this.endGmtModify = endGmtModify;
	}

	/**
	 * @return
	 */
	public Long getResidenceId() {
		return residenceId;
	}

	/**
	 * @param
	 */
	public void setResidenceId(Long residenceId) {
		this.residenceId = residenceId;
	}
}